﻿/*
* Copyright 2013 Seven Spikes Ltd. All rights reserved. (http://www.nop-templates.com)
* http://www.nop-templates.com/t/licensinginfo
*/

/* DO NOT REMOVE. The default autocomplete should appear above the Mega Menu */
.ui-autocomplete {
z-index: 1002 !important;
}

/* RESETS */

.header-menu{
    display: none;
}
.mega-menu a, .mega-menu a:hover {
    text-decoration:none;
}

/* MAIN PANEL */

.mega-menu {
    position:relative;
	z-index: 1001;
	margin:5px auto 0;
	padding:0;
    border: 1px solid #aaa;
	border-radius: 5px;
	background: rgb(252,252,252);
    background: url("images/bg-menu.jpg") repeat-x left top;
    background: -moz-linear-gradient(top, rgba(252,252,252,1) 0%, rgba(224,224,224,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(252,252,252,1)), color-stop(100%,rgba(224,224,224,1)));
    background: -webkit-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(224,224,224,1) 100%);
    background: -o-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(224,224,224,1) 100%);
    background: -ms-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(224,224,224,1) 100%);
    background: linear-gradient(to bottom, rgba(252,252,252,1) 0%,rgba(224,224,224,1) 100%);
	list-style:none;
}
.mega-menu:after {
	display: block;
	visibility: hidden;
	clear: both;
	height: 0;
    content: ".";
	line-height: 0;
}
.mega-menu > li {
	float:left;
	height:32px;
	border-right: 1px dotted #999;
}
.mega-menu > li:first-child {
    border-radius: 5px 0 0 5px;
}
.mega-menu > li:hover{
    background: rgb(224,224,224); 
    background: url();
    background: -moz-linear-gradient(top, rgba(224,224,224,1) 0%, rgba(252,252,252,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(224,224,224,1)), color-stop(100%,rgba(252,252,252,1)));
    background: -webkit-linear-gradient(top, rgba(224,224,224,1) 0%,rgba(252,252,252,1) 100%);
    background: -o-linear-gradient(top, rgba(224,224,224,1) 0%,rgba(252,252,252,1) 100%);
    background: -ms-linear-gradient(top, rgba(224,224,224,1) 0%,rgba(252,252,252,1) 100%);
    background: linear-gradient(to bottom, rgba(224,224,224,1) 0%,rgba(252,252,252,1) 100%);
}
.mega-menu > li > a {
    display:block;
    padding: 0 20px;
	color: #333;
	text-transform: uppercase;
	text-shadow: 1px 1px 0 #fff;
	font: normal bold 12px/32px Arial, Helvetica, sans-serif;
}
.mega-menu a.view-all {
    font-weight:bold !important;
}

/* DROPDOWN */

.mega-menu .dropdown {
    position: absolute;
    top: 28px;
    display: none;
    overflow: hidden;
    border: 1px solid #aaa;
    border-top: 1px solid #ccc;
    border-radius: 0 5px 5px 5px;
    background: #fff;
    box-shadow: 0 2px 1px 0 #555;
    opacity: 0.95;
}
.mega-menu .dropdown.fullWidth {
    left: -1px;
    width: 928px;
    border-radius: 0 0 5px 5px;
}
.mega-menu li:hover .dropdown {
    display: block;
}

/* ROWS AND BOXES */

.mega-menu .row {
    overflow: hidden;
    min-height: 188px;
    width: 100%;
    border-spacing: 10px 5px;
}
.mega-menu .box {
	float: left;
	margin: 0 6px;
	padding: 10px;
}
.mega-menu .categories .box
{
    width: 200px;
}
.mega-menu .manufacturers .box
{
    width: 200px;
}
.mega-menu .manufacturers.fullWidth .box
{
    width: 122px;
}
.mega-menu .box ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.mega-menu .picture {
    float: left;
	box-shadow: 0 0 2px #999;
}
.mega-menu .picture img{
    border-width: 0px;
}
.mega-menu .picture a {
    display: block;
    overflow: hidden;
    width: 90px;
    height: 90px;
}
.mega-menu .box .subcategories {
    float: right;
    margin: 0;
    margin-top: -8px;
    width: 95px;
}
.mega-menu .box strong {
    display: block;
	margin-bottom: 5px;
    padding: 5px 0 10px;
	color: #333;
	text-transform: uppercase;
    font: normal bold 14px Arial, Helvetica, sans-serif;
}
.mega-menu .box strong a {
	color: #333;
    letter-spacing: 0.5px;
    font-weight: bold;
}
.mega-menu .box strong a:hover {
    color: #AF0304;
    text-decoration: none;
}
.mega-menu .box li a {
    display: block;
    padding: 5px 0 5px 10px;
	background: url('images/arrow1.png') left center no-repeat;
    color: #111 !important;
    text-decoration: none;
    font: normal normal 12px Arial, Helvetica, sans-serif;
    font-size: 13px;
}
.mega-menu .box li a:hover {
	background: url('images/arrow2.png') left center no-repeat;
    color: #AF0304 !important;
}
.mega-menu .box li:last-child:hover a {
    border-bottom: none;
}

/* MANUFACTURER DROPDOWN */

.mega-menu .manufacturer {
    display: block;
	background: none !important;
}
.mega-menu .manufacturer span {
    display: block;
    overflow: hidden;
    width: 90px;
    height: 90px;
    margin-bottom: 5px;
}
.mega-menu li a.manufacturer,
.mega-menu li a.manufacturer:hover {
    font: normal bold 13px Arial, Helvetica, sans-serif !important;
    background: none !important;
}
.mega-menu .topic-wrapper p {
	margin: 0;
	padding: 10px;
	color: #333;
}